#default {
  finish { ambient 0.4 }
}

camera
{
  up <0, 1, 0>
  right <1, 0, 0>
  location <-1,3,-16>
  look_at <0,0,0>
  angle 40
}

light_source { <10,10,-10> color rgb <1,1,1> }

#declare deskwood_streaks =
pigment {
  bozo
  color_map {
    [0.0 color rgb <0.25,0.2,0.1>]
    [0.4 color rgb <0.5,0.4,0.2>]
    [0.5 color rgb <0.68,0.6,0.45>]
    [1.0 color rgb <0.68,0.6,0.45>]
  }
  //scale <1,1,0.02>
  //scale <0.01,0.01,1>
  scale <1,0.01,1>
}


#declare deskwood_background =
pigment {
  //color rgb <0.68,0.6,0.45>
  color rgb <0.8,0.7,0.6>
}

#declare deskwood_turb =
    texture {
      pigment {
	wood
	turbulence 0.05
	translate 4*y
	warp { repeat 8*y offset 0.0 } 
        rotate 86*y
	//rotate 4*z
	translate <0,0,0>
	pigment_map {
	  [0.0 deskwood_streaks ]
	  [0.3 deskwood_streaks ]
	  [0.7 deskwood_background ]
	  [1.0 deskwood_background ]
	}
      }
      finish { diffuse 0.8 specular 0.2 }
    }

#declare deskwood_random_streaks =
    texture {
      pigment {
	bozo
      color_map {
	  [0.0 color rgbt <0.5,0.4,0.2,0.0>]
	  [0.3 color rgbt <0.5,0.4,0.2,0.0>]
	  [0.4 color rgbt <0.8,0.7,0.6,1.0>]
	  [1.0 color rgbt <0.8,0.7,0.6,1.0>]
	}
	//scale <4,1,0.1>
        scale <1,1,0.02>
      }
      finish { diffuse 0.8 specular 0.2 }
    }

box { <-15,-15,5> <15,15,5>
  texture { deskwood_turb translate <0,0,3> }
  texture { deskwood_random_streaks rotate 90*x }
}
//box { <-15,0,-15> <15,-1,15>
//  texture { deskwood_turb translate <0,0,-5> }
//  texture { deskwood_random_streaks }
//}
